package com.cloud.serviceverificationcode.service;

import com.cloud.internalcommon.dto.ResponseResult;
import com.cloud.internalcommon.dto.serviceverificationcode.VerifyCodeResponse;

public interface VerifyService {

    ResponseResult<VerifyCodeResponse> generate(int identity, String phoneNumber);

    ResponseResult<?> verify(String phoneNumber, String code);
}
